//
// Created by Administrator on 2019/2/19.
//

#ifndef MMKV_MMBUFFER_H
#define MMKV_MMBUFFER_H

#include <cstdint>
enum MMBufferCopyFlag:bool{
            MMBufferCopy = false,
            MMBufferNoCopy = true,
};

class MMBuffer {
private:
    void* ptr;
    size_t = size;
    MMBufferCopyFlag isNoCopy;
public:
    void *getPtr() const{ return ptr;}
    size_t  length() const { return size;}

};
























#endif //MMKV_MMBUFFER_H
